#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
    int i = 0;
    long long he = 0;
    scanf("%d", &i);
    while (i > 0)
    {
        he += i;
        i--;
    }
    printf("%lld", he);
    return 0;
}